//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package messages;

import common.ByteStream;
import common.LogicLong;

public class UnsubscribeFarm extends Base {
    public static final int MsgType = 14115;
    public final long homeId;

    public UnsubscribeFarm(long targetHomeId) {
        super(14115);
        this.homeId = targetHomeId;
    }

    public void encode(ByteStream stream) {
        LogicLong id = new LogicLong(this.homeId);
        id.encode(stream);
        stream.writeInt(0);
    }

    public void decode(ByteStream stream) {
        this.isDecoded = true;
    }
}
